﻿@{
	ViewBag.Title = "JavaScript variables filled from C#";
}

<h2>JavaScript variables filled from C#</h2>
<table>
	<thead>
		<tr>
			<th>
				Description
			</th>
			<th>
				Result
			</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td>
				SomeGlobalVariable
			</td>
			<td id="Div1"></td>
		</tr>
		<tr>
			<td>
				ExistingLiteral.SomeVariable
			</td>
			<td id="Div2"></td>
		</tr>
		<tr>
			<td>
				ExistingLiteral.AnotherLiteral.SomeVariable
			</td>
			<td id="Div3"></td>
		</tr>
		<tr>
			<td>
				NotExistingLiteral.SomeVariable
			</td>
			<td id="Div4"></td>
		</tr>
		<tr>
			<td>
				NotExistingLiteral.AnotherNonExistingLiteral.SomeVariable
			</td>
			<td id="Div5"></td>
		</tr>
		<tr>
			<td>
				ExistingLiteral.SomeInitValue
			</td>
			<td id="Div6"></td>
		</tr>
	</tbody>
</table>